#include "DynamicSkyboxComp.h"
#include <SECore/Manager.h>
#include <SERender/Resourses/Material.h>

namespace SEngine
{   
    DynamicSkyboxComp::DynamicSkyboxComp(Actor &actor)
        : Component(actor)
    {
        this->Reset();
    }
    
    void DynamicSkyboxComp::Reset()
    {
        skybox.SetMaterial(Manager::GetInstance().Get<Material>("DynamicSkybox").value());
    }
}